﻿@{
    ViewBag.Title = "参观登记维护";
    Layout = "~/Areas/Admin/Views/Shared/_RightLayout.cshtml";
}
	<form id="listForm" method="get" action="/Admin/Visitor/List/">
	<div id="toolBar">
        <a class="add" href="/Admin/Visitor/Edit/"><span>添加</span></a>
		<a class="delete" href="javascript:void()" rel="/Admin/Visitor/Delete/"><span>删除</span></a>
	    |
        <span>关键字：</span><span><input type="text" name="keywords" value="@Request["Keywords"]"/></span>			
		<input type="submit" value="查找" />
	</div>
	<div id="list">
		<table width="3000">
			<tr>
                <th style="width: 25px;" align="center" title="全选/取消">
                    <input type="checkbox" id="select_all" onclick="sel_all()"/>
                </th>
                <th>公司名字</th>
                <th>经营范围</th>
                <th>国家/地区</th>
                <th>性质</th>
                <th>地址</th>
                <th>传真</th>
                <th>网址</th>
                <th>兴趣产品</th>
                <th>服务要求</th>
                <th>参会人员1</th>
                <th>参会人员1性别</th>
                <th>参会人员1职务</th>
                <th>参会人员1电话</th>
                <th>参会人员1证件类型</th>
                <th>参会人员1证件编号</th>
                <th>参会人员2</th>
                <th>参会人员2性别</th>
                <th>参会人员2职务</th>
                <th>参会人员2电话</th>
                <th>参会人员2证件类型</th>
                <th>参会人员2证件编号</th>
                <th>参会人员3</th>
                <th>参会人员3性别</th>
                <th>参会人员3职务</th>
                <th>参会人员3电话</th>
                <th>参会人员3证件类型</th>
                <th>参会人员3证件编号</th>
                <th>参会人员4</th>
                <th>参会人员4性别</th>
                <th>参会人员4职务</th>
                <th>参会人员4电话</th>
                <th>参会人员4证件类型</th>
                <th>参会人员4证件编号</th>
                <th>浏览媒体</th>
                <th>获知途径</th>
                <th>是否接收邮件</th>
                <th style="width: 60px;" align="center">
                    操作
                </th>
            </tr>
            @foreach(var data in Model) 
               {
            <tr>
                <td align="center"><input type="checkbox" name="ids" value="@data.Id" /></td>
                <td>@data.CompanyName</td>
                <td>@data.BusinessScope</td>
                <td>@data.country</td>
                <td>@data.xingzhi</td>
                <td>@data.Address</td>
                <td>@data.FaxNumber</td>
                <td>@data.homepage</td>
                <td>@data.FavoriteProduct</td>
                <td>@data.ServiceRequirement</td>
                <td>@data.ParticipatingContact1Name</td>
                <td>@data.ParticipatingContact1Sex</td>
                <td>@data.ParticipatingContact1Title</td>
                <td>@data.ParticipatingContact1Phone</td>
                <td>@data.ParticipatingContact1CardType</td>
                <td>@data.ParticipatingContact1CardId</td>        
                <td>@data.ParticipatingContact2Name</td>
                <td>@data.ParticipatingContact2Sex</td>
                <td>@data.ParticipatingContact2Title</td>
                <td>@data.ParticipatingContact2Phone</td>
                <td>@data.ParticipatingContact2CardType</td>
                <td>@data.ParticipatingContact2CardId</td>        
                <td>@data.ParticipatingContact3Name</td>
                <td>@data.ParticipatingContact3Sex</td>
                <td>@data.ParticipatingContact3Title</td>
                <td>@data.ParticipatingContact3Phone</td>
                <td>@data.ParticipatingContact3CardType</td>
                <td>@data.ParticipatingContact3CardId</td>        
                <td>@data.ParticipatingContact4Name</td>
                <td>@data.ParticipatingContact4Sex</td>
                <td>@data.ParticipatingContact4Title</td>
                <td>@data.ParticipatingContact4Phone</td>
                <td>@data.ParticipatingContact4CardType</td>
                <td>@data.ParticipatingContact4CardId</td>        
                <td>@data.Media</td>
                <td>@data.HowYouKnowUs</td>
                <td>@data.EnableEmail</td>
                <td>
                    <a href="/Admin/Visitor/Detail/@data.Id" title="查看tb_visitor详细信息" >详细</a>
                </td>
            </tr>
            }
		</table>
	</div>
	@Html.Raw(PageControl.Render(Model))
	</form>
